-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use external GraphQL client for smoke tests #179
Conversation
c45bc68
to
3952618
Compare
c5820fa
to
aa7ed7d
Compare
c40faab
to
0214421
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful changes thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
@Test | ||
public void regularRouteFromCentralAtlantaToPowderSprings() { | ||
Set<String> modes = Set.of("TRANSIT", "WALK"); | ||
var modes = Set.of(TRANSIT, WALK); | ||
SmokeTest.basicRouteTest( | ||
new SmokeTestRequest(nearGeorgiaStateStation, powderSpringsInsideFlexZone1, modes), | ||
List.of("WALK", "SUBWAY", "WALK", "BUS", "WALK", "BUS", "WALK") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The expected modes could eventually be moved to use LegMode
directly.
Since GraphQL is now the main API that the IBI frontend use, I'm switching the SmokeTests to also use GraphQL.
It does this by using a separate client that I wrote for another project.